package com.bjpowernode.boss.common.expection;

import com.bjpowernode.boss.common.enums.ResponseCode;

public class BossExpection extends RuntimeException{

    private ResponseCode responseCode;

    public BossExpection() {
        super();
    }

    public BossExpection(String message) {
        super(message);
    }

    public BossExpection(ResponseCode responseCode) {
        this.responseCode = responseCode;
    }

    public ResponseCode getResponseCode() {
        return responseCode;
    }
}
